package site.entity;

import java.util.Date;


/**
 * Review entity. @author MyEclipse Persistence Tools
 */
public class Review implements java.io.Serializable {

	// Fields

	private static final long serialVersionUID = 5800604033548884699L;
	private Integer id;
	private Integer resourceid;
	private Integer reviewerid;
	private String reviewername;
	private String advice;
	private Integer status;
	
	private Date createtime;
	private Integer ind = 1;

	// Constructors

	/** default constructor */
	public Review() {
	}

	/** minimal constructor */
	public Review(Integer id) {
		this.id = id;
	}

	// Property accessors
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getResourceid() {
		return this.resourceid;
	}

	public void setResourceid(Integer resourceid) {
		this.resourceid = resourceid;
	}

	public Integer getReviewerid() {
		return this.reviewerid;
	}

	public void setReviewerid(Integer reviewerid) {
		this.reviewerid = reviewerid;
	}

	public String getAdvice() {
		return this.advice;
	}

	public void setAdvice(String advice) {
		this.advice = advice;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}


	public Integer getInd() {
		return this.ind;
	}

	public void setInd(Integer ind) {
		this.ind = ind;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setReviewername(String reviewername) {
		this.reviewername = reviewername;
	}

	public String getReviewername() {
		return reviewername;
	}

}